package com.ww.demo.thread.d1;

import java.util.ArrayList;
import java.util.List;

public class MyList {
    private static List list = new ArrayList();

    public static void add(){
        list.add("我是元素");
    }

    public static int size(){
        return list.size();
    }
}
